package com.xuwang.pojo;

import java.sql.Timestamp;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 进货表（菜品、原料、添加剂都在这里面）(Stock)实体类
 *
 * @author abaaba
 * @since 2021-09-18 14:18:01
 * @version 1.0
 */
@ApiModel(value = "Stock",description = "进货表（菜品、原料、添加剂都在这里面）")
public class Stock implements Serializable {
    private static final long serialVersionUID = -60496987942924246L;
    
	@ApiModelProperty(name = "id",notes = "${column.comment}",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 三者生产批号
    */
	@ApiModelProperty(name = "stockBatchNo",notes = "三者生产批号",dataType = "String",required = true)
    private String stockBatchNo;
    /**
    * 验收人员
    */
	@ApiModelProperty(name = "confirmPerson",notes = "验收人员",dataType = "String",required = true)
    private String confirmPerson;
    /**
    * 进货时间
    */

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "stockTime",notes = "进货时间",dataType = "Timestamp",required = true)
    private Timestamp stockTime;
    /**
    * 进货数量
    */
	@ApiModelProperty(name = "stockNumber",notes = "进货数量",dataType = "Double",required = true)
    private Double stockNumber;
    /**
    * 进货企业id
    */
	@ApiModelProperty(name = "stockCompanyId",notes = "进货企业id",dataType = "Integer",required = true)
    private Integer stockCompanyId;
    /**
    * 状态是否删除更改
    */
	@ApiModelProperty(name = "action",notes = "状态是否删除更改",dataType = "Integer",required = true)
    private Integer action;

        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getStockBatchNo() {
        return stockBatchNo;
    }

    public void setStockBatchNo(String stockBatchNo) {
        this.stockBatchNo = stockBatchNo;
    }
        
    public String getConfirmPerson() {
        return confirmPerson;
    }

    public void setConfirmPerson(String confirmPerson) {
        this.confirmPerson = confirmPerson;
    }

    public Timestamp getStockTime() {
        return stockTime;
    }

    public void setStockTime(Timestamp stockTime) {
        this.stockTime = stockTime;
    }

    public Double getStockNumber() {
        return stockNumber;
    }

    public void setStockNumber(Double stockNumber) {
        this.stockNumber = stockNumber;
    }
        
    public Integer getStockCompanyId() {
        return stockCompanyId;
    }

    public void setStockCompanyId(Integer stockCompanyId) {
        this.stockCompanyId = stockCompanyId;
    }
        
    public Integer getAction() {
        return action;
    }

    public void setAction(Integer action) {
        this.action = action;
    }

}